package server.Example;

import com.core.interfaces.IMessageExecutorPool;
import com.core.thread.OneMessageExecutorPool;

/**
 * 计时器范例
 * @author King
 *
 */
public class ClockExample
{
	public static void main(String[] args)
	{
		TimeClock clock = new TimeClock(1000);
		IMessageExecutorPool pool = new OneMessageExecutorPool();
		pool.pushAction(clock);
	}
	

}
